projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96ab6a
)
davinci: omapl138_lcdk: add DT support for EMMC boot
author
Fabien Parent
<
[email protected]
>
Tue, 29 Nov 2016 16:15:03 +0000
(17:15 +0100)
committer
Tom Rini
<
[email protected]
>
Sat, 3 Dec 2016 18:21:19 +0000
(13:21 -0500)
When booting from EMMC, load the DTB and pass it to the kernel.
Signed-off-by: Fabien Parent <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
include/configs/omapl138_lcdk.h
patch
|
blob
|
history
diff --git
a/include/configs/omapl138_lcdk.h
b/include/configs/omapl138_lcdk.h
index 06a62cd6b101b8835c4e20a93017d7ed1f1a226a..9e11f7dc95c342f19a86a249a2c48c405ce2ab19 100644
(file)
--- a/
include/configs/omapl138_lcdk.h
+++ b/
include/configs/omapl138_lcdk.h
@@
-274,12
+274,16
@@
"run spiboot; " \
"fi"
#define CONFIG_EXTRA_ENV_SETTINGS \
+ "fdtaddr=0xc0600000\0" \
+ "fdtfile=da850-lcdk.dtb\0" \
+ "fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \
"mmcboot=" \
"if fatload mmc 0 0xc0600000 boot.scr; then " \
"source 0xc0600000; " \
"else " \
"fatload mmc 0 0xc0700000 uImage; " \
- "bootm 0xc0700000; " \
+ "fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
+ "run fdtboot; " \
"fi;\0" \
"spiboot=" \
"sf probe 0; " \